<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: INode Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.03</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_i_node.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">INode Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Node interface.  
 <a href="classarm__compute_1_1graph_1_1_i_node.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_node_8h_source.xhtml">INode.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1356f0d04912be3ec8d8ce7a2b0cddd2"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a1356f0d04912be3ec8d8ce7a2b0cddd2">~INode</a> ()=default</td></tr>
<tr class="memdesc:a1356f0d04912be3ec8d8ce7a2b0cddd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual Destructor.  <a href="#a1356f0d04912be3ec8d8ce7a2b0cddd2">More...</a><br /></td></tr>
<tr class="separator:a1356f0d04912be3ec8d8ce7a2b0cddd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff59544b2bab30c9a3ce1876515e48df"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr&lt; <a class="el" href="classarm__compute_1_1_i_function.xhtml">arm_compute::IFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#aff59544b2bab30c9a3ce1876515e48df">instantiate_node</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;ctx, <a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a> *input, <a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a> *output)=0</td></tr>
<tr class="memdesc:aff59544b2bab30c9a3ce1876515e48df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interface to be implemented that instantiates the node.  <a href="#aff59544b2bab30c9a3ce1876515e48df">More...</a><br /></td></tr>
<tr class="separator:aff59544b2bab30c9a3ce1876515e48df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f94409d100ac0a28961a82a5cc31d30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a4f94409d100ac0a28961a82a5cc31d30">override_target_hint</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a> target_hint) const </td></tr>
<tr class="memdesc:a4f94409d100ac0a28961a82a5cc31d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override the existing target hint.  <a href="#a4f94409d100ac0a28961a82a5cc31d30">More...</a><br /></td></tr>
<tr class="separator:a4f94409d100ac0a28961a82a5cc31d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f5a851dcc0fae248668de12466017c8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a3f5a851dcc0fae248668de12466017c8">supports_in_place</a> () const </td></tr>
<tr class="memdesc:a3f5a851dcc0fae248668de12466017c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to check if the node supports in-place operations.  <a href="#a3f5a851dcc0fae248668de12466017c8">More...</a><br /></td></tr>
<tr class="separator:a3f5a851dcc0fae248668de12466017c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a1f1a1fdc7328d9d50fb72a2e12be2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a48a1f1a1fdc7328d9d50fb72a2e12be2">set_supports_in_place</a> (bool <a class="el" href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a>)</td></tr>
<tr class="memdesc:a48a1f1a1fdc7328d9d50fb72a2e12be2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of the _supports_in_place attribute.  <a href="#a48a1f1a1fdc7328d9d50fb72a2e12be2">More...</a><br /></td></tr>
<tr class="separator:a48a1f1a1fdc7328d9d50fb72a2e12be2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Node interface. </p>

<p>Definition at line <a class="el" href="_i_node_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_i_node_8h_source.xhtml">INode.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1356f0d04912be3ec8d8ce7a2b0cddd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Virtual Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aff59544b2bab30c9a3ce1876515e48df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::unique_ptr&lt;<a class="el" href="classarm__compute_1_1_i_function.xhtml">arm_compute::IFunction</a>&gt; instantiate_node </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;&#160;</td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a> *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a> *&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Interface to be implemented that instantiates the node. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ctx</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> context to be used </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input tensor of the node </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output</td><td>Output tensor of the node </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_convolution_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">ConvolutionLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_branch_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">BranchLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_residual_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">ResidualLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_depthwise_convolution_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">DepthwiseConvolutionLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_batch_normalization_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">BatchNormalizationLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_fully_connected_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">FullyConnectedLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_dequantization_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">DequantizationLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_depth_convert_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">DepthConvertLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_l2_normalize_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">L2NormalizeLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_activation_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">ActivationLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_normalization_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">NormalizationLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_pooling_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">PoolingLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_reshape_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">ReshapeLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_flatten_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">FlattenLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_quantization_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">QuantizationLayer</a>, <a class="el" href="classarm__compute_1_1graph_1_1_floor_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">FloorLayer</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_softmax_layer.xhtml#aefee70b3377d4ece56de05e1dff00dd8">SoftmaxLayer</a>.</p>

</div>
</div>
<a class="anchor" id="a4f94409d100ac0a28961a82a5cc31d30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a> override_target_hint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a>&#160;</td>
          <td class="paramname"><em>target_hint</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Override the existing target hint. </p>
<dl class="section note"><dt>Note</dt><dd>If the input is DONT_CARE then the method has to pick a technology, else it can accept the hint or override it (But not with DONT_CARE)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">target_hint</td><td>Target hint to be considered</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The updated target hint </dd></dl>

</div>
</div>
<a class="anchor" id="a48a1f1a1fdc7328d9d50fb72a2e12be2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set_supports_in_place </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the value of the _supports_in_place attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Boolean value to assign to _supports_in_place. </td></tr>
  </table>
  </dd>
</dl>

<p>Referenced by <a class="el" href="arm__compute_2graph_2nodes_2_batch_normalization_layer_8h_source.xhtml#l00051">BatchNormalizationLayer::BatchNormalizationLayer()</a>.</p>

</div>
</div>
<a class="anchor" id="a3f5a851dcc0fae248668de12466017c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool supports_in_place </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Method to check if the node supports in-place operations. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the node supports in-place operations, false otherwise. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/graph/<a class="el" href="_i_node_8h_source.xhtml">INode.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1graph.xhtml">graph</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a></li>
    <li class="footer">Generated on Fri Mar 2 2018 12:37:59 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
